<div class="box">
  <div class="box-content">
    <div class="box-product" style="text-align:center;">
      <?php foreach ($categories as $category) { ?>
      <div style="margin:0 40px;">
      <div class="name" style="text-align:left;"><a style="font-size:20px;" href="<?php echo $category['href']; ?>"><?php echo $category['name']; ?></a></div>
        <?php if ($category['thumb']) { ?>
        <div class="image"><a href="<?php echo $category['href']; ?>"><img src="<?php echo $category['thumb']; ?>" alt="<?php echo $category['name']; ?>" /></a></div>
        <?php } ?>
      	<p class="meta" style="text-align:left;"><?php echo $category['meta'];?></p>
      </div>
      <?php } ?>
    </div>
  </div>
</div>
